百度空间,修改"把鼠标移到相册图片上时出现的效果"的代码

来源:百度知道 编辑:UC知道 时间:2024/05/31 18:03:18
就是当打开一个相册后,如http://hi.baidu.com/%B6%AB%C6%C2%B4%B5%C4%AB/album/%C4%AC%C8%CF%CF%E0%B2%E1 ,把鼠标放到照片上后出现的效果,我想让它变成鼠标一放上去,它就往里凹的效果怎么弄啊?
谢谢各位,我是只想要下陷的效果,而不想要那个出来的白色框框,怎么能去掉鼠标放上去时候出现的白色背景啊?

你说的是鼠标指向链接时下陷的效果吧

请在css中加入

a:hover {position:relative; left:1px; top:1px; clip:rect()}

============================================
你指的是鼠标指向相片时会出现一个白色框框?请在CSS中加入以下代码测试

/*二级相册页面hover透明*/
#m_albummenu .hover{ border:1px #CCCCCC solid; background:none!important; cursor:pointer}
/*----相册二级页面右侧照片透明---*/
#m_albumlist .hoverM .name{background:none!important;}
#m_albumlist .hoverM{background:none!important;}
#m_albumlist .hoverT{background:none!important;}